<template>
  <div class="gonglue flex banxin">
    <div class="item item1">
      <h4>签到领积分</h4>
      <div class="btn">去签到</div>
    </div>
    <div class="item item2">
      <h4>签到领积分</h4>
      <div class="btn">去购课</div>
    </div>
    <div class="item item3">
      <h4>签到领积分</h4>
      <div class="btn">去推荐</div>
    </div>
    <div class="item item4">
      <h4>签到领积分</h4>
      <div class="btn">做任务</div>
    </div>
  </div>
</template>
 
<script>
export default {
  data() {
    return {};
  },
};
</script>
 
<style lang = "less" scoped>
.gonglue {
  justify-content: space-between;
  .item {
    width: 285px;
    height: 168px;
    background-size: 100%;
    transition: background-size 0.3s;
    margin-bottom: 50px;
    &:hover {
      background-size: 102%;
    }
  }
  .item1 {
    background-image: url("../../assets/images/home/integral-01.png");
  }
  .item2 {
    background-image: url("../../assets/images/home/integral-02.png");
  }
  .item3 {
    background-image: url("../../assets/images/home/integral-03.png");
  }
  .item4 {
    background-image: url("../../assets/images/home/integral-04.png");
  }
  h4 {
    padding-top: 30px;
    margin-left: 20px;
    font-size: 30px;
    font-family: SourceHanSansSC;
    font-weight: bold;
    color: #ffffff;
    line-height: 23px;
  }
  .btn {
    margin-left: 20px;
    margin-top: 20px;
    text-align: center;
    width: 96px;
    height: 27px;
    line-height: 27px;
    border: 1px solid #ffffff;
    color: #ffffff;
  }
}
</style>